package com.fr.data.core.db.dml;

public class SQLUtils
{
  public static String[] getOPAndValueString(int paramInt, String paramString)
  {
    String str = "=";
    switch (paramInt)
    {
    case 0:
      str = "=";
      break;
    case 1:
      str = "!=";
      break;
    case 2:
      str = ">";
      break;
    case 3:
      str = ">=";
      break;
    case 4:
      str = "<";
      break;
    case 5:
      str = "<=";
      break;
    case 6:
      str = " like ";
      paramString = paramString + "%";
      break;
    case 7:
      str = " not like ";
      paramString = paramString + "%";
      break;
    case 8:
      str = " like ";
      paramString = "%" + paramString;
      break;
    case 9:
      str = " not like ";
      paramString = "%" + paramString;
      break;
    case 10:
      str = " like ";
      paramString = "%" + paramString + "%";
      break;
    case 11:
      str = " not like ";
      paramString = "%" + paramString + "%";
      break;
    default:
      str = "=";
    }
    return new String[] { str, paramString };
  }
}